/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Test;

import Bean.CekStokBarangPusat;
import java.sql.SQLException;
import java.util.Date;

/**
 *
 * @author Yohanes Beny P
 */
public class TestKodeBarangFix {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws SQLException {
        Bean.CekStokBarangPusat ck = new CekStokBarangPusat();
        Date d = new Date();
        String a = ck.generateKodeBarang(d, "333");
        System.out.println(ck.kodeBarangFix(a));
    }
}
